package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
/**
 * 商品对应规格表值表
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019-1-16 18:51:40
 */
@TableName("nideshop_goods_specification")
@Data
public class GoodsSpecificationVo implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //商品
    private Integer goodsId;
    //规范Id
    private Integer specificationId;
    //规范说明
    private String value;
    //规范图片
    private String picUrl;
    //规格名
    @TableField(exist = false)
    private String name;
    //选择状态
    @TableField(exist = false)
    private boolean checked = false;
}
